'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);

  router.post('/api/user/code', controller.user.sendCode);
  router.post('/v1/cart/goodslist', controller.product.goodslist);


};
